#include<stdlib.h>

struct ListNode
{
    int val;
    struct ListNode* next;
};

struct ListNode* adas(struct ListNode* phead,int k )
{
    struct ListNode* fast, * slow;
    fast = slow = head;
    if (head == NULL)
    {
        return;
    }
    while (k--)
    {
        fast = fast->next;
        if (fast == NULL)
        {
            return;
        }
    }
    while (fast->next == NULL)
    {
        slow = slow->next;
        fast = fast->next;
    }
    return slow;
}

int main()
{
    return 0;
}
